Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRRefreshBackBuffer

You can use the QTVRRefreshBackBuffer function to refresh the back buffer.

OSErr QTVRRefreshBackBuffer (QTVRInstance qtvr, UInt32 flags);
qtvr
An instance of a QuickTime VR movie.
flags
Unused. Set this parameter to 0.
function result
A result code.

DESCRIPTION

The QTVRRefreshBackBuffer function refreshes some or all of the back buffer associated with the QuickTime VR movie specified by the qtvr parameter by reloading the appropriate data from the diced frames in the panorama image track.

You can call QTVRRefreshBackBuffer either in a back buffer imaging procedure or elsewhere in your application. If you call QTVRRefreshBackBuffer in a back buffer imaging procedure, only the current rectangle (that is, the rectangle specified by the procedure's drawRect parameter) is refreshed. If you call QTVRRefreshBackBuffer outside of a back buffer imaging procedure, all areas of interest specified in the most recent call to QTVRSetBackBufferImagingProc are refreshed.

SPECIAL CONSIDERATIONS

QTVRRefreshBackBuffer is valid only for panoramic nodes.

SEE ALSO

See "MyBackBufferImagingProc" for information about back buffer imaging procedures.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |